import request from '@/utils/request'

let DeliveryApi = {

  /*修改*/
  update(data, errorback) {
    return request._post('/shop/user.user_delivery/update', data, errorback);
  },

  /*详情*/
  edit(data, errorback) {
    return request._post('/shop/user.user_delivery/edit', data, errorback);
  },
  /*创建*/
  create(data, errorback) {
    return request._post('/shop/user.user_delivery/create', data, errorback);
  },

  /*删除*/
  delete(data, errorback) {
    return request._post('/shop/user.user_delivery/delete', data, errorback);
  },

  /*列表*/
  list(data, errorback) {
    return request._get('/shop/user.user_delivery/index', data, errorback);
  },

}

export default DeliveryApi;
